package com.autumn.mybatis.factory;

import java.io.IOException;

import javax.sql.DataSource;

/**
 * 动态数据源路油
 * 
 * @author 老码农
 *
 *         2018-01-10 15:58:40
 */
public interface IDynamicDataSourceRouting extends DataSource {

	/**
	 * 获取路油Key
	 * 
	 * @return
	 *
	 */
	String getRoutingKey();

	/**
	 * 关闭
	 * 
	 * @throws IOException
	 *
	 */
	void close() throws IOException;
}
